var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
// EPA's core functions
// 05 June 2007
// For comments and explanations, see http://www.epa.gov/epafiles/js/epa-full.txt
function printAsIs_Date_URL() {
if(!document.getElementById('footer')) return;
var footer = document.getElementById('footer');
var printText = document.createElement('p');
printText.id = 'printAsIs';
var print_function = document.createElement('a'); print_function.href = '#';
print_function.title = 'Print this page as-is.';
print_function.onclick = function(){ print_preview(); return false; };
print_function.appendChild(document.createTextNode('Print As-Is') );
printText.appendChild(print_function);
footer.appendChild(printText);
var urlText = document.createElement('p');
urlText.id = 'url';
urlText.appendChild(document.createTextNode(window.location.href));
footer.insertBefore(urlText,printText);
var x = new Date(document.lastModified); var Modif = new Date(x.toGMTString());
var days = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
var months = ['January','February','March','April','May','June','July','August','September','October','November','December'];
var datetowrite = 'Last updated on ' + days[Modif.getDay()] + ', ' + months[Modif.getMonth()] + ' ' + Modif.getDate() + nths(Modif.getDate()) + ', ' + takeYear(Modif) + '.';
var dateText = document.createElement('p'); dateText.id = 'date';
dateText.appendChild(document.createTextNode(datetowrite));
footer.insertBefore(dateText, urlText);
}
function print_preview() {
var links = document.getElementsByTagName('link');
for (var i = 0; i < links.length; i++) {
var linkHREF = links[i].getAttribute('href');
if (linkHREF == 'https://web.archive.org/web/20080312172102/http://www.epa.gov/epafiles/s/print.css') {
links[i].removeAttribute('href'); links[i].href = 'https://web.archive.org/web/20080312172102/http://www.epa.gov/epafiles/s/epa.css';
}
}
add_preview_message();
}
function add_preview_message() {
var footer = document.getElementById('footer');
var printPara = document.createElement('p');
printPara.innerHTML = 'This document will now print as it appears on screen when you use the File » Print command.
Use View » Refresh to return to original state.';
footer.appendChild(printPara);
}
function newIcon() {
if(!document.getElementsByTagName('ins')) return;
var newItem = document.getElementById('content').getElementsByTagName('ins');
for ( var i = 0; i < newItem.length; i++) {
if (!newItem[i].getAttribute('datetime')) continue;
var a = newItem[i].getAttribute('datetime');
var b = new Array(); b = a.split('-');
var postedDate = (Date.UTC(b[0],b[1],b[2],0,0,0))/86400000;
var x = new Date(); var today = new Date(x.toGMTString());
var now = (Date.UTC(takeYear(today),today.getMonth(),today.getDate(),0,0,0))/86400000;
var timeLeft = postedDate - (now + 1);
if (timeLeft < 31 && timeLeft > 0) {
var icon = document.createElement('img');
icon.alt = 'New!'; icon.src = 'https://web.archive.org/web/20080312172102/http://www.epa.gov/epafiles/images/new-en.gif';
icon.width = '34'; icon.height = '16';
newItem[i].appendChild(icon);
}
}
}
function takeYear(theDate) { var x = theDate.getYear(); var y = x % 100; y += (y < 38) ? 2000 : 1900; return y; }
function nths(day) {
if (day == 1 || day == 21 || day == 31) return 'st'; if (day == 2 || day == 22) return 'nd';
if (day == 3 || day == 23) return 'rd'; return 'th';
}
function notice() {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://web.archive.org/web/20080312172102/http://www.epa.gov/epahome/notice.js';
document.getElementsByTagName('head')[0].appendChild(script);
}
function addClass(element,name) {
if (!element.className) {
element.className = name;
} else {
element.className+= ' ';
element.className+= name;
}
}
function stripeTables() {
if (!document.getElementsByTagName('table')) return;
var tables = document.getElementsByTagName('table');
for (var i = 0; i